package com.lu.system.sysLog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.lu.system.sysLog.dao.SysLog2Dao;
import com.lu.system.sysLog.domain.SysLog2DO;
import com.lu.system.sysLog.service.SysLog2Service;

@Service
public class SysLog2ServiceImpl implements SysLog2Service {
	@Autowired
	private SysLog2Dao sysLog2Dao;
	
	@Override
	public SysLog2DO get(Long id){
		return sysLog2Dao.get(id);
	}
	
	@Override
	public List<SysLog2DO> list(Map<String, Object> map){
		return sysLog2Dao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return sysLog2Dao.count(map);
	}
	
	@Override
	public int save(SysLog2DO sysLog2){
		return sysLog2Dao.save(sysLog2);
	}

    @Override
    public void saveBatch(List<SysLog2DO> sysLog2) throws Exception {
		sysLog2Dao.saveBatch(sysLog2);
    }
	
	@Override
	public int update(SysLog2DO sysLog2){
		return sysLog2Dao.update(sysLog2);
	}

    @Override
    public void updateBatch(List<SysLog2DO> sysLog2) throws Exception {
		sysLog2Dao.updateBatch(sysLog2);
    }
	
	@Override
	public int remove(Long id){
		return sysLog2Dao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return sysLog2Dao.batchRemove(ids);
	}
	
}
